Set the new label properties when gtk_misc_set_alignment is used,
to keep things working.
#include "config.h"
#include "gtkcontainer.h"
#include "gtkmisc.h"
+#include "gtklabel.h"
#include "gtkintl.h"
#include "gtkprivate.h"
priv->xalign = xalign;
priv->yalign = yalign;
+ if (GTK_IS_LABEL (misc))
+ {
+ gtk_label_set_xalign (GTK_LABEL (misc), xalign);
+ gtk_label_set_yalign (GTK_LABEL (misc), yalign);
+ }
+
/* clear the area that was allocated before the change
*/
widget = GTK_WIDGET (misc);